package com.situ.hospital.patient.model;

import java.util.HashMap;
import java.util.Map;

import util.PagerModel;

public class PatientModel extends PagerModel{
	private Integer id;
	private String patientName;
	private String patientSex;
	private Integer roomId;
	private Integer doctorId;

	public PatientModel() {
	}

	public PatientModel(String patientName, String patientSex, Integer roomId, Integer doctorId) {
		super();
		this.patientName = patientName;
		this.patientSex = patientSex;
		this.roomId = roomId;
		this.doctorId = doctorId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPatientName() {
		return patientName;
	}

	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}

	public String getPatientSex() {
		return patientSex;
	}

	public void setPatientSex(String patientSex) {
		this.patientSex = patientSex;
	}

	public Integer getRoomId() {
		return roomId;
	}

	public void setRoomId(Integer roomId) {
		this.roomId = roomId;
	}

	public Integer getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(Integer doctorId) {
		this.doctorId = doctorId;
	}

	public Map<String, String> mapGet() {
		Map<String, String> map = new HashMap<>();
		map.put("patientName", "patient_name");
		map.put("patientSex", "patient_sex");
		map.put("roomId", "room_id");
		map.put("doctorId", "doctor_id");
		return map;
	}

}
